package org.csu.chatserver.msg;

import lombok.Data;

@Data
public class Response<T> {
    String responseMsg;
    T data;

    public Response(String responseMsg, T data) {
        this.responseMsg = responseMsg;
        this.data = data;
    }
    public Response(String responseMsg) {
        this.responseMsg = responseMsg;
    }
}
